﻿@model Application.Admin.Dto.TourDetailDto
@Html.ValidationSummary(true)
<div class="editor-label">
    @Html.LabelFor(model => model.SightName)
</div>
<div class="editor-field">
    <input id="SightName" name="SightName" type="text" value="" data-autocomplete="/sight/search/" />
    @Html.ValidationMessageFor(model => model.SightName)
</div>
<div class="editor-label">
    @Html.LabelFor(model => model.CustomDateTime)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.CustomDateTime)
    @Html.ValidationMessageFor(model => model.CustomDateTime)
</div>
<div class="editor-label">
    @Html.LabelFor(model => model.Day)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Day)
    @Html.ValidationMessageFor(model => model.Day)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Remark)
</div>
<div class="editor-field">
    @Html.TextAreaFor(model => model.Remark, new { rows = 5 })
    @Html.ValidationMessageFor(model => model.Remark)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.NextTips)
</div>
<div class="editor-field">
    @Html.TextAreaFor(model => model.NextTips, new { rows = 5 })
    @Html.ValidationMessageFor(model => model.NextTips)
</div>
<div style="display: none;">
    <input  id = "TourId"  name = "TourId" type = "hidden" value = "@(ViewBag.targetId)"/>
    @Html.HiddenFor(model => model.SightId)
    @Html.HiddenFor(model => model.AddTime)
    @Html.HiddenFor(model => model.IpAddress)
    @Html.HiddenFor(model => model.State)
    @Html.HiddenFor(model => model.SortNum)
</div>
